package com.yuanfeng.job.feign;

import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Stranger
 * @date 2023/5/17 15:43
 */
@FeignClient(name = "mall-third-party", url = "http://localhost:8088")
public interface ThirdPartyServiceClient {


    /**
     * 发送缴纳质保金短信
     * @param userMobile
     * @param result1
     */
    @GetMapping("/sms/sendRetentionMoneyMessage")
    ResponseResult sendRetentionMoneyMessage(@RequestParam("userMobile") String userMobile, @RequestParam("result1") String result1);
}
